<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link th:href="@{../css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{../css/plugins/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet">
    <link th:href="@{../css/font-awesome.css}" rel="stylesheet">
    <link th:href="@{../css/animate.css}" rel="stylesheet">
    <link th:href="@{../css/style.css}" rel="stylesheet">
    <link th:href="@{../css/plugins/sweetalert/sweetalert.css}" rel="stylesheet">
</head>
<body class="gray-bg ">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <div class="form-horizontal">
                <div class="form-group">
                    <label class="col-sm-3 control-label ">公司名称：</label>
                    <div class="col-sm-8">
                        <input class="form-control" type="hidden" id="id" name="id" th:value="${intentionalCompany.id}"/>
                        <input class="form-control" type="text" id="companyName" name="companyName" th:value="${intentionalCompany.companyName}" placeholder="请输入公司名称"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label ">公司地址：</label>
                    <div class="col-sm-8">
                        <input class="form-control" type="text" id="address" name="address" th:value="${intentionalCompany.address}" placeholder="请输入公司地址"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label ">联系人：</label>
                    <div class="col-sm-8">
                        <input class="form-control" type="text" id="contacts" name="contacts" th:value="${intentionalCompany.contacts}" placeholder="请输入联系人"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-3 control-label ">负责人职位：</label>
                    <div class="col-sm-8">
                        <input class="form-control" type="text" id="position" name="position" th:value="${intentionalCompany.position}" placeholder="请输入负责人职位"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">类型：</label>
                    <div class="col-sm-8">
                        <input class="form-control" type="text" name="type" id="type" th:value="${intentionalCompany.type}" placeholder="请输入类型">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label ">固定电话：</label>
                    <div class="col-sm-8">
                        <input class="form-control" type="text" id="telePhone" name="telePhone" th:value="${intentionalCompany.telePhone}" placeholder="请输入固定电话"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">手机号：</label>
                    <div class="col-sm-8">
                        <input class="form-control" type="text" name="mobilePhone" id="mobilePhone" th:value="${intentionalCompany.mobilePhone}" placeholder="请输入手机号">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label ">职员人数：</label>
                    <div class="col-sm-8">
                        <input class="form-control" type="text" id="staffNumber" name="staffNumber" th:value="${intentionalCompany.staffNumber}" placeholder="请输入职员人数"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">企业意向：</label>
                    <div class="col-sm-8">
                        <select class="form-control m-b" name="smallType" id="smallType" th:field="${intentionalCompany.smallType}" th:switch="${intentionalCompany.smallType}">
                            <option value="">请选择</option>
                            <option th:selected="selected" value="官网-展示类">官网-展示类</option>
                            <option th:selected="selected" value="官网-营销类">官网-营销类</option>
                            <option th:selected="selected" value="PC-竞价">PC-竞价</option>
                            <option th:selected="selected" value="PC-SEO">PC-SEO</option>
                            <option th:selected="selected" value="移动端-竞价">移动端-竞价</option>
                            <option th:selected="selected" value="移动端-SEO">移动端-SEO</option>
                            <option th:selected="selected" value="熊掌号">熊掌号</option>
                            <option th:selected="selected" value="微信">微信</option>
                            <option th:selected="selected" value="小程序">小程序</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">绑定客户时间：</label>
                    <div class="col-sm-8">
                        <input class="form-control" type="text" name="addTime" id="addTime" th:value="${#dates.format(intentionalCompany.addTime,'yyyy-MM-dd HH:mm:ss')}" placeholder="请输入绑定客户时间" disabled>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">来源：</label>
                    <div class="col-sm-8">
                        <input class="form-control" type="text" name="source" id="source" th:value="${intentionalCompany.source}" placeholder="请输入来源" disabled>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">跟进时间：</label>
                    <div class="col-sm-8">
                        <input class="form-control" type="text" id="intentionalTime" th:value="${company.intentionalTime}" placeholder="下次跟进时间">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">描述：</label>
                    <div class="col-sm-8">
                        <textarea class="form-control" rows="3" id="describes" name="describes" th:utext="${intentionalCompany.describes}" placeholder="请输入描述..."></textarea>
                    </div>
                </div>


                <div class="form-group">
                    <div class="form-control-static col-sm-offset-8">
                        <button type="button" class="btn btn-info" onclick="intentionalCompany_update()" id="update">
                            <i class="fa fa-check"></i>&nbsp;修改
                        </button>
                        <button type="button" class="btn btn-danger" onclick="cancel()" id="close">
                            <i class="fa fa-eraser"></i>&nbsp;取消
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script th:src="@{../js/jquery.min.js}"></script>
<script th:src="@{../js/bootstrap.min.js}"></script>
<script th:src="@{../js/plugins/laydate/laydate.js}"></script>
<script th:src="@{../js/plugins/sweetalert/sweetalert.min.js}"></script>
<script th:src="@{../js/intentionalCompany/intentionalCompany_edit.js}"></script>
<script th:src="@{../js/plugins/layer/layer.min.js}"></script>
</body>
</html>